﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Hydra.Shell.Attributes;
using Hydra.Shell.Enumerations;

namespace Hydra.Shell.Interfaces
{
    [GuidAttribute("18933F6E-0937-4888-8C77-EC8A393B21EA")]
    public interface IHydraPersistHierarchyItem
    {
        bool IsItemDirty(uint itemid, IUnknown punkDocData);
        bool SaveItem(HydraSaveFlags dwSave, string pszSilentSaveAsName, uint itemid, IUnknown punkDocData, out bool pfCanceled);
        bool IsItemReloadable(uint itemid);
        void ReloadItem(uint itemid);
        void IgnoreItemFileChanges(uint itemid, bool fIgnore);
    }
}
